From: Dan Nicholson Date: Thu, 2 Aug 2018 19:14:10 +0000 (-0500) Subject: lib/pull: Add debug message when loading summary from cache X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~20^2~14 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=1c69f1ed318ed8b9447119b0311074b89637ad61;p=ostree.git lib/pull: Add debug message when loading summary from cache This helps when debugging issues with the cached summary handling. Closes: #1698 Approved by: cgwalters --- diff --git a/src/libostree/ostree-repo-pull.c b/src/libostree/ostree-repo-pull.c index 80c31ed8..9eac6376 100644 --- a/src/libostree/ostree-repo-pull.c +++ b/src/libostree/ostree-repo-pull.c @@ -3986,7 +3986,10 @@ ostree_repo_pull_with_options (OstreeRepo *self, goto out; if (bytes_summary) - summary_from_cache = TRUE; + { + g_debug ("Loaded %s summary from cache", remote_name_or_baseurl); + summary_from_cache = TRUE; + } if (!pull_data->summary && !bytes_summary) {